const ajax = window.ajaxbusinessAssets;
export default {
    //字典
    listByTypes: (params) => window.ajaxBusinessContract.request(`/v1/basic/dict/listByTypes`, 'post', params, { showLoading: true }),
    
    //项目列表
    // projectlist: (params) => ajax.request(`/v1/basic/project/project/list`, 'post', params, { showLoading: true }),
    projectlist: (params) => window.ajaxBase.request(`/v1/business/project/getProjectList`, 'post', params, { showLoading: true }),

    //商铺门牌号下拉
    queryShopNumber: (params) => window.ajaxBusinessContract.request(`/v1/business/customer/queryShopNumber`, 'post', params, { showLoading: true }),
    //客户名称下拉
    infoNamelist: (params) => window.ajaxBusinessContract.request(`/v1/basic/customer/customer/info/list`, 'post', params, { showLoading: true }),
    //查询
    queryContractList: (params) => window.ajaxBusinessContract.request(`/v1/business/customer/queryContractList`, 'post', params, { showLoading: true }),
    //导出
    export: (params) => window.ajaxBusinessContract.download(`/v1/business/customer/export`, params, { showLoading: true, responseType: 'blob' }),

    
    //客户信息
    queryInformation: (params) => window.ajaxBusinessContract.request(`/v1/business/customer/queryInformation`, 'post', params, { showLoading: true }),
    //租赁记录
    queryLeaseRecords: (params) => window.ajaxBusinessContract.request(`/v1/business/customer/queryLeaseRecords`, 'post', params, { showLoading: true }),
    //广告投入记录
    queryAdvertisement: (params) => window.ajaxBusinessContract.request(`/v1/business/customer/queryAdvertisement`, 'post', params, { showLoading: true }),
    //无人设备投入记录
    queryEquipment: (params) => window.ajaxBusinessContract.request(`/v1/business/customer/queryEquipment`, 'post', params, { showLoading: true }),
    //临时场地使用记录
    queryField: (params) => window.ajaxBusinessContract.request(`/v1/business/customer/queryField`, 'post', params, { showLoading: true }),
    //共享空间使用记录
    querySpace: (params) => window.ajaxBusinessContract.request(`/v1/business/customer/querySpace`, 'post', params, { showLoading: true }),
    //合同记录
    queryContract: (params) => window.ajaxBusinessContract.request(`/v1/business/customer/queryContract`, 'post', params, { showLoading: true }),
    //业态
    listByMapBizId : (param) => window.ajaxbusinessAssets.request(`/v1/business/category/listByMapBizId`, 'post', param, {showLoading: true}),
    //品牌
    categoryList : (param) => window.ajaxbusinessAssets.request(`/v1/business/category/list`, 'post', param, {showLoading: true}),
    //客户分类数量统计-导航
    customerCount : (param) => window.ajaxBusinessContract.request(`/v1/business/customer/count`, 'post', param, {showLoading: true}),
    //客户标签列表
    customerTagLIst : (param) => window.ajaxBusinessContract.request(`/v1/business/customer/tag/list`, 'post', param, {showLoading: true}),
    //客户标签关联
    customerTagCreate : (param) => window.ajaxBusinessContract.request(`/v1/business/customer/tag/create`, 'post', param, {showLoading: true}),
    //客户详情
    customerDetail : (param) => window.ajaxBusinessContract.request(`/v1/business/customer/detail`, 'post', param, {showLoading: true}),
    //当期客户
    customerCurrList : (param) => window.ajaxBusinessContract.request(`/v1/business/customer/currList`, 'post', param, {showLoading: true}),
    //历史客户
    customerHistoryList : (param) => window.ajaxBusinessContract.request(`/v1/business/customer/historyList`, 'post', param, {showLoading: true}),
    //加入 移除  黑名单
    customerInfoUpdate : (param) => window.ajaxBusinessContract.request(`/v1/basic/customer/customer/info/update`, 'post', param, {showLoading: true}),

















}   